package xin.nick.demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Auther: Nick inickning@outlook.com
 * @Date: 2021/2/27 23:29
 * @Description:
 */
@FeignClient(value = "eureka-client-user-service", fallback = UserRemoteClientFallback.class)
public interface UserRemoteClient {

    @GetMapping("/user/hello")
    String hello();

}
